<template>
  <div class="editTree" style="height: 500px">
    <el-menu
        v-if="reportDataTagList.length>0"
        default-expand-all
        style="height: 100%;"
        class="el-menu-vertical-demo"
        :default-openeds="mangaementStore.editTemp.defaultOpen"
    >
      <editTreeItem :menuList="reportDataTagList"></editTreeItem>
    </el-menu>
  </div>
</template>

<script setup lang="ts">
//组件

//接口


//api
import {reactive, ref} from 'vue';
import type {tagType} from "@/api/management/type";
import editTreeItem from "@/views/Management/compoments/editTreeItem.vue";
import useMangaementStore from "@/store/modules/mangement/mangement";
//data
let props = defineProps<{
  reportDataTagList: tagType[],
  activeId?:string,
  defaultLeftOpends?:string
}>()
let mangaementStore = useMangaementStore()
/*
函数
*/

/**************************接口函数**************************/


/**************************操作函数**************************/


</script>

<style lang="scss">
.el-menu-vertical-demo {
  width: 100%;
  border: none;
}
</style>
